package cn.iocoder.yudao.module.erp.controller.admin.business.money.moneyincome.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 收入类型新增/修改 Request VO")
@Data
public class MoneyIncomeSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6440")
    private Long id;

    @Schema(description = "类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "类型名称不能为空")
    private String name;

}